<template>
	<view class="cart-page">
		<home :clickColorIndex="-1"></home>
		<payment @ordercance="ordercanceFun"></payment>
		<menu-tool :cartTotalCount="cartTotalCountN"></menu-tool>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				orderData:{},
				cartTotalCountN:0, // 购物车数量
			}
		},
		mounted() {
			// orderData
			this.orderData = uni.getStorageSync('orderData')
			this.cartTotalCountN = this.orderData.cartN;
		},
		methods: {
			
		}
	}
</script>

<style scoped>
	.cart-page {
		background-color: #F5F5F5;
		min-height: 100%;
	}
</style>